Returns the profile assigned to the specified user
{ getProfileForUser }
Returns the profile id assigned to the specified user's private role. This oes not include public role profiles.
Method
/API3/access/getProfileForUser
- Enterprise Admin
Input Parameters
Name
userId
Type
string
Description
The system user's ID
Output Response
Successful Result Code
200
Response Type
Description of Response Type
A generic object used to contain ID of item.
Code Snippets
Use the Authentication API methods to generate an access 'key' or 'token' for use in code as shown below.
TypeScript
Curl
Java
C#
Python
PHP